import type { App } from 'vue';
import {
    Form,
    Field,
    Popup,
    Picker,
    Dialog,
    Divider,
    Image,
    Button,
    DatetimePicker,
    Calendar,
    Tabbar,
    TabbarItem,
    NavBar,
    Search,
    Icon,
    Uploader,
    RadioGroup,
    Radio,
    Empty,
    Skeleton,
    Pagination,
    PullRefresh,
    List
  } from 'vant'
  import 'vant/lib/index.css'
  import '@/style.scss'

  export function setupVant(app: App<Element>): void {
    app
  .use(Form)
  .use(Field)
  .use(Popup)
  .use(Picker)
  .use(Dialog)
  .use(Divider)
  .use(Image)
  .use(Button)
  .use(DatetimePicker)
  .use(Calendar)
  .use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
  .use(Search)
  .use(Icon)
  .use(Uploader)
  .use(RadioGroup)
  .use(Radio)
  .use(Empty)
  .use(Skeleton)
  .use(Pagination)
  .use(PullRefresh)
  .use(List)
}
